import { IWidget, IOption, EnumProperty } from "xcore/cmpnt"

var Select: IWidget & IOption = {
  cmpnt: "x-select",
  valueKey: "select",
  category: "widgets",
  props: {
    placeholder: "请选择",
    "no-data-text": "无数据",
    multiple: false,
    "multiple-limit": 0,
    clearable: true,
    autocomplete: false,
    filterable: false,
    disabled: false,
    style: { width: "120px", },
    class: [],
    dataDict: "",
    options:[],
    bind: {
      properties: [EnumProperty.Options, EnumProperty.Removed],
    },
  },
  events: {},
  ctl: {
    icon: "iconfont te-i-select",
    name: "Select",
    group: "select",
    text: "下拉组件",
  },
};
export { Select };
